from setuptools import setup, Extension
from Cython.Build import cythonize
import numpy

ext = Extension(
    "wdtw_python",
    sources=["wdtw_python.pyx", "wdtw_impl.c"],  # 源文件列表
    include_dirs=[numpy.get_include(), "."],     # 头文件搜索路径
    libraries=["m"]                            # 链接数学库
)

setup(
    name="wdtw_python",          # 包名
    version="0.1.0",             # 版本号
    ext_modules=cythonize([ext]),
)